# coding: utf-8

import mxnet as mx
import os

# vizdir = '../network_viz'
# if not os.path.exists(vizdir):
#     os.mkdir(vizdir)
# model_prefix = 'model'
# num = 4
# models = []
# for i in range(1,num+1):
#     model = os.path.join(model_prefix,'det'+str(i))
#     models.append(model)

# pnetname = os.path.join(vizdir,'pnet')
# rnetname = os.path.join(vizdir,'rnet')
# onetname = os.path.join(vizdir,'onet')
# lnetname = os.path.join(vizdir,'lnet')

# netnames = (pnetname,rnetname,onetname,lnetname)

# for i in range(len(models)):
#     net = mx.model.FeedForward.load(models[i],1)
#     print(type(net))
#     # mx.viz.plot_network(net).view(netnames[i])

# print('[^_^] Successfully')
